package PVZ;

import javax.swing.*;
import java.awt.*;

public class ConeheadZombie extends Senobject{
    protected double speed;

    ConeheadZombie() {
        super(166, 144, 3);
        speed=0.5;
    }
    public ImageIcon getImage(){
        return Images.ConeheadZombie;
    }
    public void step(){
        x-=speed;
    }
    public void loseLife(){
        life--;
    }
}

